package com.tfswx.jcyw.ruleenginedesigner.dao;

import com.tfswx.jcyw.ruleenginedesigner.dao.model.GzyqXtYh;
import com.tfswx.jcyw.ruleenginedesigner.dto.yhgl.YhListQueryOutputDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GzyqXtYhMapper {
    /**
     * insert record to table
     *
     * @param record the record
     * @return insert count
     */
    int insert(GzyqXtYh record);

    GzyqXtYh getByDlbmAndKl(GzyqXtYh gzyqXtYh);

    List<YhListQueryOutputDTO> queryYhList(GzyqXtYh gzyqXtYh);

    int update(GzyqXtYh gzyqXtYh);

    int undelete(GzyqXtYh gzyqXtYh);

    int delete(GzyqXtYh gzyqXtYh);

    int setPassword(GzyqXtYh gzyqXtYh);
}
